package pack

abstract class Fruit (
  val name: String,
  val color: String
)

object Fruits {

  object Apple extends Fruit("apple", "red")

}
